﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012B1 RID: 4785
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingSetSkillTraceCsReq : IMessage<SwordTrainingSetSkillTraceCsReq>, IMessage, IEquatable<SwordTrainingSetSkillTraceCsReq>, IDeepCloneable<SwordTrainingSetSkillTraceCsReq>, IBufferMessage
	{
		// Token: 0x17003C8D RID: 15501
		// (get) Token: 0x0600D678 RID: 54904 RVA: 0x0024029C File Offset: 0x0023E49C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingSetSkillTraceCsReq> Parser
		{
			get
			{
				return SwordTrainingSetSkillTraceCsReq._parser;
			}
		}

		// Token: 0x17003C8E RID: 15502
		// (get) Token: 0x0600D679 RID: 54905 RVA: 0x002402A3 File Offset: 0x0023E4A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingSetSkillTraceCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C8F RID: 15503
		// (get) Token: 0x0600D67A RID: 54906 RVA: 0x002402B5 File Offset: 0x0023E4B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingSetSkillTraceCsReq.Descriptor;
			}
		}

		// Token: 0x0600D67B RID: 54907 RVA: 0x002402BC File Offset: 0x0023E4BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingSetSkillTraceCsReq()
		{
		}

		// Token: 0x0600D67C RID: 54908 RVA: 0x002402C4 File Offset: 0x0023E4C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingSetSkillTraceCsReq(SwordTrainingSetSkillTraceCsReq other) : this()
		{
			this.skillId_ = other.skillId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D67D RID: 54909 RVA: 0x002402E9 File Offset: 0x0023E4E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingSetSkillTraceCsReq Clone()
		{
			return new SwordTrainingSetSkillTraceCsReq(this);
		}

		// Token: 0x17003C90 RID: 15504
		// (get) Token: 0x0600D67E RID: 54910 RVA: 0x002402F1 File Offset: 0x0023E4F1
		// (set) Token: 0x0600D67F RID: 54911 RVA: 0x002402F9 File Offset: 0x0023E4F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SkillId
		{
			get
			{
				return this.skillId_;
			}
			set
			{
				this.skillId_ = value;
			}
		}

		// Token: 0x0600D680 RID: 54912 RVA: 0x00240302 File Offset: 0x0023E502
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingSetSkillTraceCsReq);
		}

		// Token: 0x0600D681 RID: 54913 RVA: 0x00240310 File Offset: 0x0023E510
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingSetSkillTraceCsReq other)
		{
			return other != null && (other == this || (this.SkillId == other.SkillId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D682 RID: 54914 RVA: 0x00240340 File Offset: 0x0023E540
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SkillId != 0U)
			{
				num ^= this.SkillId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D683 RID: 54915 RVA: 0x0024037F File Offset: 0x0023E57F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D684 RID: 54916 RVA: 0x00240387 File Offset: 0x0023E587
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D685 RID: 54917 RVA: 0x00240390 File Offset: 0x0023E590
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SkillId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D686 RID: 54918 RVA: 0x002403C4 File Offset: 0x0023E5C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SkillId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D687 RID: 54919 RVA: 0x00240402 File Offset: 0x0023E602
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingSetSkillTraceCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SkillId != 0U)
			{
				this.SkillId = other.SkillId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D688 RID: 54920 RVA: 0x00240433 File Offset: 0x0023E633
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D689 RID: 54921 RVA: 0x0024043C File Offset: 0x0023E63C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.SkillId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400559B RID: 21915
		private static readonly MessageParser<SwordTrainingSetSkillTraceCsReq> _parser = new MessageParser<SwordTrainingSetSkillTraceCsReq>(() => new SwordTrainingSetSkillTraceCsReq());

		// Token: 0x0400559C RID: 21916
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400559D RID: 21917
		public const int SkillIdFieldNumber = 7;

		// Token: 0x0400559E RID: 21918
		private uint skillId_;
	}
}
